.cell-2 {
	width: 50%;
}
.cell-3 {
	width: 33.333%;
}
.cell-4 {
	width: 25%;
}
.cell-5 {
	width: 20%;
}

.image-box {
	display: table;
	width: 100%;
	height: 100%;
}
.image-box .image-cell {
	display: table-cell;
	vertical-align: middle;
}
.image-box .image-cell img {
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
}

/* 轮播 */
.md-banner {
	position: relative;
	width: 100%;
	height: 210px;
}
.md-banner .md-banner-item {
	width: 100%;
	height: 100%;
	background-color: #1ba2fc;
}
.md-banner .md-banner-thumb {
	position: absolute;
	bottom: 10px;
	left: 50%;
	list-style: none;
	transform: translate(-50%, 0);

}
.md-banner .md-banner-thumb li {
	display: inline-block;
	margin: 0 2px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, .2);
}
.md-banner .md-banner-thumb li:first-child {
	background-color: rgba(255, 255, 255, .8);
}

/* tab选项卡 */
.md-tabs {
	background-color: #fff;
}
.md-tabs .md-tabs-nav {
	position: relative;
	padding: 0 10px;
	height: 43px;
	border-bottom: 1px solid #efefef;
	white-space: nowrap;
	overflow: hidden;
}
.md-tabs .md-tabs-nav .md-tabs-tab {
	display: inline-block;
	float: left;
	margin-right: 10px;
	padding: 10px 7px;
	line-height: 21px;
	color: #333;
	border-bottom: 1px solid transparent;
}
.md-tabs .md-tabs-nav .md-tabs-tab:last-child {
	margin-right: 0;
}
.md-tabs .md-tabs-nav .md-tabs-tab.active {
	color: #1ba2fc;
	border-bottom-color: #2ca9fc;
}
.md-tabs .md-tabs-body {
	height: 100px;
	line-height: 100px;
	font-size: 14px;
	color: #999;
	text-align: center;
}

/* 按钮组 */
.md-btns {
	position: relative;
	background-color: #fff;
	overflow: hidden;
}
.md-btns .md-btns-cell {
	float: left;
	margin: 10px 0;
	text-align: center;
	overflow: hidden;
}
.md-btns .md-btns-cell .image {
	display: inline-block;
	width: 40px;
	line-height: 40px;
}
.md-btns .md-btns-cell .image img {
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
}
.md-btns .md-btns-cell .title {
	margin-top: 5px;
	font-size: 12px;
	color: #333;
}
.md-btns .md-btns-thumb {
	position: absolute;
	bottom: 5px;
	left: 0;
	width: 100%;
	font-size: 0;
	text-align: center;
}
.md-btns .md-btns-thumb span {
	display: inline-block;
	margin: 0 2px;
	width: 16px;
	height: 4px;
	border-radius: 3px;
	background-color: rgba(0, 0, 0, .1);
}
.md-btns .md-btns-thumb span.active {
	background-color: rgba(0, 0, 0, .3);
}

/* 辅助线 */
.md-subline .md-subline-line {
	border: 0;
	border-bottom: 1px solid #27bc6e;
}

/* 辅助空白 */
.md-blank {
	height: 10px;
	background-color: #fff;
}

/* 图组 */
.md-atlas .md-atlas-cell {
	background-color: #fff;
}
.md-atlas .md-atlas-cell + .md-atlas-cell {
	margin-top: 10px;
}
.md-atlas .md-atlas-cell img {
	display: block;
	max-width: 100%;
}

/* 搜索 */
.md-search {
	padding: 4px 5px;
	background-color: #fff;
}
.md-search .md-search-box {
	position: relative;
	width: 100%;
	border-radius: 3px;
	background-color: #f0f0f0;
	overflow: hidden;
}
.md-search .md-search-box input {
	position: relative;
	padding: 8px 36px 8px 10px;
	width: 100%;
	line-height: 20px;
	border: 0;
	background-color: transparent;
	z-index: 1;
}
.md-search .md-search-box i {
	display: block;
	position: absolute;
	top: 10px;
	right: -16px;
	width: 16px;
	height: 16px;
	background: url(../../assets/icon_search.png) center no-repeat;
	filter: drop-shadow(#454545 -26px 0px);
	z-index: 2;
}

/* 按钮 */
.md-btn-box {
	
}
.md-btn-box .md-btn {
	display: block;
	padding: 0 10px;
	width: 100%;
	line-height: 36px;
	color: #fff;
	text-align: center;
	border-radius: 5px;
	background-color: #4c96f9;
}
.md-btn-box .md-btn:hover {
	opacity: .8;
}

/* 图片橱窗 */
.md-picwindow {
	position: relative;
	background-color: #fff;
	overflow: hidden;
}
.md-picwindow .md-picwindow-cell {
	float: left;
	padding: 3px;
	font-size: 0;
}
.md-picwindow .md-picwindow-cell img {
	max-width: 100%;
}
.md-picwindow.window {
	padding-bottom: 50%;
}
.md-picwindow.window .md-picwindow-cell img {
	width: 100%;
	height: 100%;
}
.md-picwindow.window .win-1 {
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	height: 100%;
}
.md-picwindow.window .win-2 {
	position: absolute;
	right: 0;
	top: 0;
	width: 50%;
	height: 50%;
}
.md-picwindow.window .win-3 {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 25%;
	height: 50%;
}
.md-picwindow.window .win-4 {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 25%;
	height: 50%;
}
.md-picwindow.col .md-picwindow-cell {
	padding: 5px;
}
.md-picwindow.col-2 .md-picwindow-cell {
	width: 50%;
}
.md-picwindow.col-2 .md-picwindow-cell:nth-child(2n+1) {
	clear: left;
}
.md-picwindow.col-3 .md-picwindow-cell {
	width: 33.333%;
}
.md-picwindow.col-4 .md-picwindow-cell {
	width: 25%;
}

/* 标题栏 */
.md-title {
	padding: 0 10px;
	line-height: 42px;
	font-size: 12px;
	font-weight: normal;
	color: #333;
	background-color: #fff;
}

/* 公告 */
.md-notice {
	padding: 10px;
	background-color: #fff;
}
.md-notice .md-notice-body {
	position: relative;
	padding-left: 41px;
	width: 100%;
	height: 18px;
}
.md-notice .md-notice-body i {
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 18px;
	border-right: 1px solid #828282;
	background: url(../../assets/icon_notice.png) left center no-repeat;
}
.md-notice .md-notice-body .md-notice-content {
	width: 100%;
	height: 100%;
	line-height: 18px;
	overflow: hidden;
}
.md-notice .md-notice-body .md-notice-content > p {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

/* 产品 */
.md-product {
	overflow: hidden;
}
.md-product .md-product-cell {
	position: relative;
	float: left;
	padding: 3px;
	width: 50%;
}
.md-product .md-product-cell .image {
	position: relative;
	padding-bottom: 100%;
	width: 100%;
	background-color: #f9f6f6;
	overflow: hidden;
	z-index: 1;
}
.md-product .md-product-cell .image .superscript {
	display: block;
	position: absolute;
	color: #fff;
	text-align: center;
    background-color: #27bc6e;
    overflow: hidden;
    z-index: 9;
}
.md-product .md-product-cell .image .superscript.style-1, .md-product .md-product-cell .image .superscript.style-4 {
	transform-origin: left bottom;
   	transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}
.md-product .md-product-cell .image .superscript.style-1 {
    width: 56px;
	height: 40px;
	line-height: 62px;
}
.md-product .md-product-cell .image .superscript.style-2 {
	width: 32px;
	line-height: 32px;
	border-radius: 50%;
}
.md-product .md-product-cell .image .superscript.style-3 {
	padding-right: 1px;
	width: 37px;
	line-height: 24px;
}
.md-product .md-product-cell .image .superscript.style-4 {
	top: 23px;
	width: 60px;
	line-height: 20px;
}
.md-product .md-product-cell .content {
	position: relative;
	padding: 5px 8px;
	background-color: #fff;
	z-index: 1;
}
.md-product .md-product-cell .content .title {
	font-size: 12px;
	font-weight: normal;
	line-height: 20px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.md-product .md-product-cell .content .text {
	font-size: 0;
}
.md-product .md-product-cell .content .price {
	display: inline-block;
	width: 50%;
	color: #e4393c;
	font-size: 12px;
}
.md-product .md-product-cell .content .price b {
	font-size: 16px;
}
.md-product .md-product-cell .content .sale {
	display: inline-block;
	width: 50%;
	color: #999;
	font-size: 12px;
	text-align: right;
}

/* 优惠券 */
.md-coupon-cells {
	overflow: hidden;
}
.md-coupon-cells .md-coupon-cell {
	float: left;
	padding: 2px;
	width: 50%;
	overflow: hidden;
}
.md-coupon-cells .md-coupon-cell .md-coupon-cell-body {
	position: relative;
	border: 1px solid #e6e6e6;
	border-radius: 5px;
	background-color: #fff;
}
.md-coupon-cells .md-coupon-cell .md-coupon-cell-box {
	position: relative;
	display: table;
	padding: 10px;
	width: 100%;
	height: 64px;
	background-color: #fdf5f0;
	z-index: 1;
}
.md-coupon-cells .md-coupon-cell .md-coupon-cell-box .table-cell {
	display: table-cell;
	vertical-align: middle;
}
.md-coupon-cells .md-coupon-cell .md-coupon-cell-body:before, .md-coupon-cells .md-coupon-cell .md-coupon-cell-body:after {
	content: ' ';
	display: block;
	position: absolute;
	top: 59px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #f3f3f3;
	z-index: 2;
}
.md-coupon-cells .md-coupon-cell .md-coupon-cell-body:before {
	left: -5px;
	border-right: 1px solid #e6e6e6;
}
.md-coupon-cells .md-coupon-cell .md-coupon-cell-body:after {
	right: -5px;
	border-left: 1px solid #e6e6e6;
}
.md-coupon-cells .md-coupon-cell .md-coupon-cell-body .btn {
	float: right;
	width: 70px;
	color: #fff;
	line-height: 24px;
	text-align: center;
	border-radius: 10px;
	background-color: #ea2727;
}
.md-coupon-cells .md-coupon-cell .md-coupon-cell-body .price {
	display: block;
	font-size: 20px;
	color: #ea2727;
	font-weight: bold;
	line-height: 1;
}
.md-coupon-cells .md-coupon-cell .md-coupon-cell-body .condition {
	display: block;
	margin-top: 3px;
	text-indent: 5px;
	color: #ea2727;
}
.md-coupon-cells .md-coupon-cell .md-coupon-cell-body .desc {
	padding: 5px 10px;
}
.md-coupon-cells .md-coupon-cell .md-coupon-cell-body .desc p {
	height: 32px;
	line-height: 16px;
	overflow: hidden; 
	text-overflow: ellipsis;
	display: -webkit-box; 
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
